﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text; 

namespace ICSharpCode.WinFormsUI.Controls
{
    public class NStatusBar : System.Windows.Forms.StatusStrip
    {
        protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
        {
            base.OnPaint(e);
            if (this.BackColor != null)                 
                e.Graphics.DrawLine(new Pen(SystemColors.ControlDark, 1.0f), ClientRectangle.X, ClientRectangle.Y, ClientRectangle.X + ClientRectangle.Width, ClientRectangle.Y);
        }
    }
}
